<template>
  <el-container>
    <el-header />
    <el-container>
      <el-aside width="180px">
        <side-bar />
      </el-aside>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
    <el-footer />
  </el-container>
</template>

<script>
import SideBar from "../components/SlideBar/SideBar";

export default {
  components: {
    SideBar
  }
};
</script>

<style lang="stylus" scoped>
.el-container
  height 100%

  > .el-header, > .el-footer
    background-color #434c53
    text-align center
    color #333

  > .el-aside
    width 200px
    background-color #545c64
    line-height 200px
    color #333

  > .el-main
    background-color #fff
    color #333
</style>
